package com.example.justbuy.pojo;

import java.util.Date;
import java.util.List;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer id;
	private Date addtime;
	private String idCord;
	private String phone;
	private String email;
	private String gender;
	private String qrcode;
	private Date birthday;
	private Integer roleid;
	private Integer storeid;
	private String username;
	private String realname;
	private String password;
	private String address;
	private List<Image> list;

	public List<Image> getList() {
		return list;
	}

	public void setList(List<Image> list) {
		this.list = list;
	}
	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(Date addtime, String idCord, String phone, String email,
			String gender, String username, String password) {
		this.addtime = addtime;
		this.idCord = idCord;
		this.phone = phone;
		this.email = email;
		this.gender = gender;
		this.username = username;
		this.password = password;
	}

	/** full constructor */
	public User(Date addtime, String idCord, String phone, String email,
			String gender, String qrcode, Date birthday, Integer roleid,
			Integer storeid, String username, String realname, String password,
			String address) {
		this.addtime = addtime;
		this.idCord = idCord;
		this.phone = phone;
		this.email = email;
		this.gender = gender;
		this.qrcode = qrcode;
		this.birthday = birthday;
		this.roleid = roleid;
		this.storeid = storeid;
		this.username = username;
		this.realname = realname;
		this.password = password;
		this.address = address;
	}


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}


	public Date getAddtime() {
		return this.addtime;
	}

	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}


	public String getIdCord() {
		return this.idCord;
	}

	public void setIdCord(String idCord) {
		this.idCord = idCord;
	}


	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}


	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}


	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}


	public String getQrcode() {
		return this.qrcode;
	}

	public void setQrcode(String qrcode) {
		this.qrcode = qrcode;
	}


	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}


	public Integer getRoleid() {
		return this.roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}


	public Integer getStoreid() {
		return this.storeid;
	}

	public void setStoreid(Integer storeid) {
		this.storeid = storeid;
	}


	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}


	public String getRealname() {
		return this.realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}


	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

}